package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商管理对象 supplier
 *
 * @author ruoyi
 * @date 2021-08-31
 */
public class Supplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 网址 */
    @Excel(name = "网址")
    private String url;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplierNo;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;

    /** 姓名 */
    @Excel(name = "姓名")
    private String username;

    /** 手机 */
    @Excel(name = "手机")
    private String mobilePhone;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setSupplierNo(String supplierNo)
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo()
    {
        return supplierNo;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setIndustry(String industry)
    {
        this.industry = industry;
    }

    public String getIndustry()
    {
        return industry;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }
    public void setMobilePhone(String mobilePhone)
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone()
    {
        return mobilePhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("supplierName", getSupplierName())
                .append("url", getUrl())
                .append("supplierNo", getSupplierNo())
                .append("telephone", getTelephone())
                .append("industry", getIndustry())
                .append("updateTime", getUpdateTime())
                .append("username", getUsername())
                .append("mobilePhone", getMobilePhone())
                .toString();
    }
}